package EP1.algoritmos.algoritmo2;

public class PrimeBoolean {
    boolean primeBoolean;
    
    public PrimeBoolean() {
	this.primeBoolean = true;
    }

    public synchronized void setFalse() {
	this.primeBoolean = false;
    }

    public boolean isPrime() {
	return primeBoolean;
    }
    
    public void reset() {
	primeBoolean = true;
    }
    
}
